package org.rabbitmy.consumer;

import org.rabbitmq.common.configuration.UserRegisterQueueConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
*@author LSY
*Time: 2018年12月6日上午11:20:21
*
*
*/
@SpringBootApplication
@ImportAutoConfiguration({UserRegisterQueueConfiguration.class})
public class RabbitmqConsumerApplication {

	static Logger logger = LoggerFactory.getLogger(RabbitmqConsumerApplication.class);
	public static void main(String[] args) throws Exception {
		SpringApplication.run(RabbitmqConsumerApplication.class, args);
		logger.info("【【【【【消息队列-消息消费者启动成功.11111】】】】】");
	}

}
